Negation and Constraint Logic Programming

نویسنده

  • Peter J. Stuckey
چکیده

Almost all constraint logic programming systems include negation, yet nowhere has a sound operational model for negation in CLP been discussed. The SLDNF approach of only allowing ground negative subgoals to execute is very restrictive in constraint logic programming where most variables appearing in a derivation never become ground. By describing a scheme for constructive negation in constraint logic programming we give a sound and complete operational model for negation in these languages. Constructive negation was rst formulated for logic programming in the Herbrand Universe and involves introducing disequality constraints. Constraint logic programming thus provides a much more natural framework for describing constructive negation. In this paper we describe a framework for constructive negation for constraint logic programming over arbitrary structures which is sound and complete with respect to the three-valued consequences of the completion of a program. Through this description, we arrive at a simpler, more e cient form of constructive negation for the Herbrand Universe. Finally we characterize what makes a structure particularly suited to the use of constructive negation and show this suitability condition for a number of structures and classes of structures. The constraint viewpoint of constraint logic programming is well matched with constructive negation. Not only is constructive negation easier to understand from this point of view, but more importantly it gives the rst clean approach to negation in constraint logic programming. 3 List of Symbols : negation ^ conjunction _ disjunction leftarrow ! rightarrow $ leftrightarrow 9 exists 8 forall W big disjunction V big conjunction , double leftrightarrow = equals 6= not equals > greater than < less than greater than or equal to less than or equal to + plus times minus t bold t u bold u f bold f vertical separator " uparrow # downarrow A calligraphic A L calligraphic L R calligraphic R HU calligraphic HU double left angle brackets double right angle brackets ! omega capital Phi < reals alpha beta gamma 4

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Constructive Negation and Constraints

Inclusion of negation into logic programs is considered traditionally to be painful as the incorporation of full logic negation tends to super-exponential time complexity of the prover. Therefore the alternative approaches to negation in logic programs are studied and among them, the procedural negation as failure sounds to be the most successful and the most widely used. However, Constraint Lo...

متن کامل

Constructive Negation in CLP(H)

Inclusion of negation into logic programs is considered traditionally to be painful as the incorporation of full logic negation tends to super-exponential time complexity of the prover. Therefore the alternative approaches to negation in logic programs are studied and among them, the procedural negation as failure sounds to be the most successful and the most widely used. However, with the spre...

متن کامل

Integrity constraints and constraint logic programming

It is shown that constraint logic is useful for evaluation of integrity constraints in deductive databases. Integrity constraints are represented as calls to a meta-interpreter for negation-as-failure implemented as a constraint solver. This procedure, called lazy negation-as-failure, yields an incremental evaluation: It starts checking the existing database and each time an update request occu...

متن کامل

An Algebraic Perspective of Constraint Logic Programming

We develop a denotational, fully abstract semantics for constraint logic programming (clp) with respect to successful and failed observables. The denotational approach turns out very useful for the deenition of new operators on the language as the counterpart of some abstract operations on the denotational domain. In particular, by deening our domain as a cylindric Heyting algebra, we can explo...

متن کامل

Compiling Intensional Sets in CLP

Constructive negation has been proved to be a valid alternative to negation as failure, especially when negation is required to have, in a sense, an ‘active’ role. In this paper we analyze an extension of the original constructive negation in order to gracefully integrate with the management of set-constraints in the context of a Constraint Logic Programming Language dealing with finite sets. W...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Inf. Comput.

دوره 118  شماره 

صفحات  -

تاریخ انتشار 1995